package com.qianya.oa.service;

import java.util.List;

import com.qianya.oa.common.core.domain.entity.SysUser;
import com.qianya.oa.domain.FormInst;
import com.qianya.oa.dto.FormSubmitParam;
import com.qianya.oa.vo.FormVo;

public interface FormInstService {


    FormVo get(String processInstanceId, String formKey) ;

    String submit(SysUser user, FormSubmitParam formSubmitParam);


    int deleteByPrimaryKey(Long id);

    int insert(FormInst record);

    int insertOrUpdate(FormInst record);

    int insertOrUpdateSelective(FormInst record);

    int insertSelective(FormInst record);

    FormInst selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FormInst record);

    int updateByPrimaryKey(FormInst record);

    int updateBatch(List<FormInst> list);

    int batchInsert(List<FormInst> list);

}


